package com.borrowed.book.book.domain;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class SBorrowOrder {
    private Long id;
    @ApiModelProperty(value ="微信用户openid",dataType = "String")
    private String openid;
    @ApiModelProperty(value ="图书id",dataType = "Long")
    private Long bookId;
    @ApiModelProperty(value ="借阅订单状态，字典borrowStatus",dataType = "String")
    private String borrowStatus;
    @ApiModelProperty(value ="借阅时间",dataType = "Date")
    private Date borrowTime;
    @ApiModelProperty(value ="借阅天数",dataType = "Long")
    private Long borrowDays;
    @ApiModelProperty(value ="预计归还时间",dataType = "Date")
    private Date expectReturnTime;
    @ApiModelProperty(value ="实际归还时间",dataType = "Date")
    private Date actualReturnTime;
    @ApiModelProperty(value ="支付订单id",dataType = "Date")
    private Long orderId;
    @ApiModelProperty(value ="是否有破损",dataType = "String")
    private String isBroken;
    @ApiModelProperty(value ="借阅订单创建时间",dataType = "Date")
    private Date createTime;
    @ApiModelProperty(value ="收藏时间",dataType = "Date")
    private Date collectTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public String getBorrowStatus() {
        return borrowStatus;
    }

    public void setBorrowStatus(String borrowStatus) {
        this.borrowStatus = borrowStatus == null ? null : borrowStatus.trim();
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public Long getBorrowDays() {
        return borrowDays;
    }

    public void setBorrowDays(Long borrowDays) {
        this.borrowDays = borrowDays;
    }

    public Date getExpectReturnTime() {
        return expectReturnTime;
    }

    public void setExpectReturnTime(Date expectReturnTime) {
        this.expectReturnTime = expectReturnTime;
    }

    public Date getActualReturnTime() {
        return actualReturnTime;
    }

    public void setActualReturnTime(Date actualReturnTime) {
        this.actualReturnTime = actualReturnTime;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getIsBroken() {
        return isBroken;
    }

    public void setIsBroken(String isBroken) {
        this.isBroken = isBroken == null ? null : isBroken.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }
}